package request

type Register struct {
	Name string `form:"name" json:"name" xml:"name"  binding:"required"`
	Pass string `form:"pass" json:"pass" xml:"pass"  binding:"required"`
}

type Login struct {
	Name string `form:"name" json:"name" xml:"name"  binding:"required"`
	Pass string `form:"pass" json:"pass" xml:"pass"  binding:"required"`
}

type Release struct {
	UserId  int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	Content string `form:"content" json:"content" xml:"content"  binding:"required"`
	Likes   string `form:"likes" json:"likes" xml:"likes"  binding:"required"`
}

type List struct {
	Likes    string `form:"likes" json:"likes" xml:"likes"  binding:"required"`
	Page     int    `form:"page" json:"page" xml:"page"  binding:"required"`
	PageSize int    `form:"pageSize" json:"pageSize" xml:"pageSize"  binding:"required"`
}

type Subscribe struct {
	UserId   int `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	AuthorId int `form:"authorId" json:"authorId" xml:"authorId"  binding:"required"`
}

type Create struct {
	MasterId int `form:"masterId" json:"masterId" xml:"masterId"  binding:"required"`
	OneId    int `form:"oneId" json:"oneId" xml:"oneId"  binding:"required"`
	TwoId    int `form:"twoId" json:"twoId" xml:"twoId"  binding:"required"`
}

type Administration struct {
	UserId   int    `form:"userId" json:"userId" xml:"userId"  binding:"required"`
	Position string `form:"position" json:"position" xml:"position"  binding:"required"`
}

type Del struct {
	Position string `form:"position" json:"position" xml:"position"  binding:"required"`
}
